# == Schema Information
#
# Table name: ckeditor_assets
#
#  id                :integer(4)      not null, primary key
#  data_file_name    :string(255)     not null
#  data_content_type :string(255)
#  data_file_size    :integer(4)
#  assetable_id      :integer(4)
#  assetable_type    :string(30)
#  type              :string(30)
#  created_at        :datetime
#  updated_at        :datetime
#
# Indexes
#
#  idx_ckeditor_assetable_type  (assetable_type,type,assetable_id)
#  idx_ckeditor_assetable       (assetable_type,assetable_id)
#

class Ckeditor::Picture < Ckeditor::Asset
  mount_uploader :data, CkeditorPictureUploader, :mount_on => :data_file_name
	
	def url_content
	  url(:content)
	end
end
